package com.aiatomic.couting;

import com.aiatomic.couting.password.FragmentForgetPassword1;
import com.aiatomic.couting.settings.FragmentSettings;
import com.aiatomic.couting.util.ImageUtils;

import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

public class PasswordForgetActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_password_forget);
		FragmentForgetPassword1 settings = new FragmentForgetPassword1();
		addFragment(settings);
	}
	
	public void addFragment(Fragment fragment) {
		FragmentManager fm = getFragmentManager();
		FragmentTransaction transaction = fm.beginTransaction();
		transaction.replace(R.id.id_content, fragment);
		transaction.addToBackStack(null);
		transaction.commit();
	}

	@Override

	public void onBackPressed() {
		this.finish();
	}
}
